#include<iostream>
#include<cmath>
#include<algorithm>
#include<cstdio>
using namespace std;
int cmp(int a,int b){
    return a>b;
}
int main(){
    int a;
    while(cin>>a){
        if(a>=90&&a<=100) cout<<"Perfect"<<endl;
    }
    return  0;
}
